<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Document</title>
</head>

<body>
  <script>
    /* 
      基于命令行方式手动安装element-ui
        1.安装依赖包
          npm i element-ui -S
          npm install element-ui --save(建议使用这个)
        2.导入element-ui相关资源
          导入组件库
            import ElementUI from 'element-ui'
          导入组件相关样式
            import 'element-ui/lib/theme-chalk/index.css'
          配置 vue 插件
            Vue.use(ElementUI)
      若运行项目时,出现以下提示。则执行npm install --save core-js
      Failed to compile with 1 errors 15:50:53
      This dependency was not found:
      * core-js/modules/es.object.to-string in ./src/router/index.js
      To install it, you can run: npm install --save core-js/modules/es.object.to-string 
    */
  </script>
</body>

</html>
